<?php
require 'menu_atas.php';
?>
<style>
input.error, textarea.error, select.error {
	background-color:#FFFFCC !important;
	border:1px solid #CC0000 !important;
}
label.error {
	color:#CC0000 !important;
	font-family:Arial, Helvetica, sans-serif !important;
	font-size:11px !important;
	padding-left:5px !important;
}
</style>

  <div id="isi">

<form name="formlogin" id="form_login" action="signup_submit.php" method="post">
<fieldset style="border:3px solid #bde599" width="200px">
<legend style="font-weight:bold; color:#e22520">Buat Akun Baru</legend>
<table id="belang">



<table style="background:transparent; padding:15px" border="0" align="center">

<tr><td>E-mail</td><td><input size="20" type="text" name="email" id= "email" class="required" /> </td></tr>
<tr><td>Kata Sandi</td><td><input size="20" type="password" width="10" name="password" id="password" class="required" /></td></tr>
<tr><td>Konfirmasi Kata Sandi</td><td><input size="20" type="password" width="10" name="password_lagi" id="password_lagi" class="required" /></td></tr>
<tr><td></td></tr>
<tr><td colspan="2" align="center"><input type="submit" value="Daftar" /></td></tr>
<tr><td colspan="2">
&nbsp <style="font-weight:bold; color:#e22520"> Pembuatan akun hanya dikhususkan bagi calon pendaftar. <br>
Pastikan alamat email yang Anda masukan benar karena akan ada verifikasi melalui email.</font></td></tr>
</table> 

</fieldset>

</table>
</fieldset>
</form>
 <script type="text/javascript">
$(document).ready(function(){
	$("#form_login").validate({
			rules: {
				
				password: {
					required: true,
					minlength: 5
				},
				password_lagi: {
					required: true,
					minlength: 5,
					equalTo: "#password"
				},
				email: {
					required: true,
					email: true
				}
			},
			messages: {
				
				password: {
					required: "Masukkan Password",
					minlength: "Your password must be at least 5 characters long"
				},
				password_lagi: {
					required: "Please provide a password",
					minlength: "Your password must be at least 5 characters long",
					equalTo: "Masukkan Password yg Sama"
				},
				email: "Masukkan Email dengan Benar"
			}
		});
});
</script>

 </div>
<?php
require 'footer.php';
?>